import React from 'react'
import {
	Link
} from 'dva/router'
import { 
	Menu
} from 'antd';

export default function MenuItem(props){
	return(
		<Menu mode="horizontal">
			<Menu.Item key="mail">
          		<Link to="/">home</Link>
        	</Menu.Item>
        	<Menu.Item key="todo">
          		<Link to="/todo">Todo</Link>
        	</Menu.Item>
        	<Menu.Item key="category">
          		<Link to="/category">Category</Link>
        	</Menu.Item>
		</Menu>
	)
}
